<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>JSP Page</title>
</head>
<body>
	<input id="islogin" value="${islogin}" type="hidden" />
	<%
	    Object o = request.getSession().getAttribute("islogin");
	    int islogin = 0;
	    if (o != null)
	        islogin = (Integer) o;
	    if (islogin == 1) {
	%>
	欢迎您,${nickname}
	<img src="${figureurl}" alt="${nickname}" />
	<a href="connect/qq/logout">退出</a>
	<input id="openid" value="${openid}" type="hidden" />
	<br />
	<br />
	<a href="connect/qq/addshare">分享状态，通知好友</a>
	<%
	    } else {
	%>

	<table class="t">

		<tr>
			<td height="50">230*48</td>
			<td><a href="connect/qq/login"><img
					src="http://qzonestyle.gtimg.cn/qzone/vas/opensns/res/img/Connect_logo_5.png"
					alt="Connect_logo_5.png" /> </a>
			</td>
		</tr>

		<tr class="h">
			<td height="50">170*32</td>
			<td><a href="connect/qq/login"><img
					src="http://qzonestyle.gtimg.cn/qzone/vas/opensns/res/img/Connect_logo_4.png"
					alt="Connect_logo_4.png" /> </a>
			</td>
		</tr>
		<tr>
			<td height="50">120*24</td>
			<td><a href="connect/qq/login"><img
					src="http://qzonestyle.gtimg.cn/qzone/vas/opensns/res/img/Connect_logo_3.png"
					alt="Connect_logo_3.png" /> </a>
			</td>
		</tr>

		<tr class="h">
			<td height="50">105*16</td>
			<td><a href="connect/qq/login"><img
					src="http://qzonestyle.gtimg.cn/qzone/vas/opensns/res/img/Connect_logo_2.png"
					alt="Connect_logo_2.png" /> </a>
			</td>
		</tr>
		<tr>
			<td height="50">63*24</td>
			<td><a href="connect/qq/login"><img
					src="http://qzonestyle.gtimg.cn/qzone/vas/opensns/res/img/Connect_logo_7.png"
					alt="Connect_logo_7.png" />
			</a></td>
		</tr>

		<tr class="h">
			<td height="50">50*16</td>
			<td><a href="connect/qq/login"><img
					src="http://qzonestyle.gtimg.cn/qzone/vas/opensns/res/img/Connect_logo_6.png"
					alt="Connect_logo_6.png" /> </a></td>

		</tr>
		<tr>
			<td height="50">16*16</td>
			<td><a href="connect/qq/login"><img
					src="http://qzonestyle.gtimg.cn/qzone/vas/opensns/res/img/Connect_logo_1.png"
					alt="Connect_logo_1.png" /> QQ登录</a></td>
		</tr>
	</table>

	<%
	    }
	%>
</body>
</html>